package com.hyhy.hycloud.uaa;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;

/**
 * Verification Code properties.
 *
 * @author Xuegui Yuan
 * @date 2019-02-14
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "uaa.verification-code")
public class VerificationCodeProperties {

    private String smsTemplateId;

    private SendStrategy sendStrategy;

    @Data
    public static class SendStrategy {

        private List<String> checkUserExistBizCodes;
    }
}
